// 导入需要的对象
const userTelDao = require('../dao/userTelDao')

function queryAll () {
  return userTelDao.queryAll()
}

function queryById (id) {
  return userTelDao.queryById(id)
}

function queryByPageUserTel (offset, rows) {
  return userTelDao.queryByPageUserTel(offset, rows)
}

function queryByPageAll (offset, rows) {
  return userTelDao.queryByPageAll(offset, rows)
}

function queryByCountUserTel () {
  return userTelDao.queryByCountUserTel()
}

module.exports = {
  queryAll,
  queryById,
  queryByPageUserTel,
  queryByCountUserTel,
  queryByPageAll
}
